function GuiPageCustomer() {
}

GuiPageCustomer.instance = function(prefix) {
  return { customerNo: document.getElementById(prefix + '_customerNo_div'),
           customer: { bridename: document.getElementById(prefix + '_brideName_text'),
                       brideaddrLn1: document.getElementById(prefix + '_brideLn1_text'),
                       brideaddrLn2: document.getElementById(prefix + '_brideLn2_text'),
                       brideaddrLn3: document.getElementById(prefix + '_brideLn3_text'),
                       brideaddrLn4: document.getElementById(prefix + '_brideLn4_text'),   					   
                       bridephone: document.getElementById(prefix + '_bridePhone_text'),
                       bridemobile: document.getElementById(prefix + '_brideMobile_text'),
                       brideemail: document.getElementById(prefix + '_brideEmail_text'),
                       pwd: document.getElementById(prefix + '_pwd_text'),
                       groomname: document.getElementById(prefix + '_groomName_text'),
                       groomaddrLn1: document.getElementById(prefix + '_groomLn1_text'),
                       groomaddrLn2: document.getElementById(prefix + '_groomLn2_text'),
                       groomaddrLn3: document.getElementById(prefix + '_groomLn3_text'),
                       groomaddrLn4: document.getElementById(prefix + '_groomLn4_text'),   						   
                       groomphone: document.getElementById(prefix + '_groomPhone_text'),
                       groommobile: document.getElementById(prefix + '_groomMobile_text'),
                       groomemail: document.getElementById(prefix + '_groomEmail_text')
                              ,
                       cultural: { name: document.getElementById(prefix + '_cultural_select'),
                                   add: document.getElementById(prefix + '_addCultural_button')
                                 },
					   cultural2: { name: document.getElementById(prefix + '_cultural2_select'),
                                    add: document.getElementById(prefix + '_addCultural2_button')
                                  },
                       ceremony: { name: document.getElementById(prefix + '_ceremony_select'),
                                   add: document.getElementById(prefix + '_addCeremony_button')
                                 },
                       ceremony2: { name: document.getElementById(prefix + '_ceremony2_select'),
                                   add: document.getElementById(prefix + '_addCeremony2_button')
                                 },

                       reception: { name: document.getElementById(prefix + '_reception_select'),
                                    add: document.getElementById(prefix + '_addReception_button')
                                  },

                       reception2: { name: document.getElementById(prefix + '_reception2_select'),
                                    add: document.getElementById(prefix + '_addReception2_button')
                                  },
                                  
                       source: { name: document.getElementById(prefix + '_source_select'),
                                 add: document.getElementById(prefix + '_addSource_button')
                               },
                       source2: { name: document.getElementById(prefix + '_source2_select'),
                                 add: document.getElementById(prefix + '_addSource2_button')
                               },
							   rc: document.getElementById(prefix + '_rc_tr'),
							   rc2: document.getElementById(prefix + '_rc2_tr')
                     },
           payment: { price: document.getElementById(prefix + '_price_div'),
                      percent: document.getElementById(prefix + '_pPercent_div'),
                      received: document.getElementById(prefix + '_received_div'),
                      anticipated: document.getElementById(prefix + '_anticipated_div')
                    },
           order: { deleteDiv: document.getElementById(prefix + '_delete_div'),
                    orderTab: document.getElementById(prefix + '_orderTab_div'),
                    orderNew: document.getElementById(prefix + '_orderNew_button'),
                    total: document.getElementById(prefix + '_totalPrice_text'),
                    percent: document.getElementById(prefix + '_percent_div'),
                    type: document.getElementById(prefix + '_orderType_select'),
                    photo: document.getElementById(prefix + '_photoPackage_select'),
                    video: document.getElementById(prefix + '_videoPackage_select'),
                    pphoto: document.getElementById(prefix + '_pphotoPackage_select'),
                    pvideo: document.getElementById(prefix + '_pvideoPackage_select'),
                    ppercent: document.getElementById(prefix + '_ppercent_div'),
                    vpercent: document.getElementById(prefix + '_vpercent_div'),
                    dateTitle: document.getElementById(prefix + '_dateTitle_img'),
                    date: document.getElementById(prefix + '_date_text'),
                    pvpackage: document.getElementById(prefix + '_pvpackage_div'),
                    pPurchases: document.getElementById(prefix + '_packagepurchases_div'),
                    vpPurchases: document.getElementById(prefix + '_vpackagepurchases_div'),
                    aPurchases: document.getElementById(prefix + '_additionspurchases_div'),
                    vaPurchases: document.getElementById(prefix + '_vadditionspurchases_div'),
                    add: document.getElementById(prefix + '_addAdditions_button'),
                    tasks: document.getElementById(prefix + '_tasks_div'),
                    customerNote: document.getElementById(prefix + '_customerNote_textarea')
                   },
            officeNote: document.getElementById(prefix + '_officeNote_textarea'),
            reminderNote: document.getElementById(prefix + '_reminderNote_textarea'),
            save: document.getElementById(prefix + '_save_button'),
            cancel: document.getElementById(prefix + '_cancel_button')
         }
};